package com.qy137.controller;

import com.qy137.entity.Member;

import com.qy137.service.MemberService;
import com.qy137.utils.CommonResult;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;


@RestController
@RequestMapping("/stat/member")
@Api(tags ="用户类型排行榜")
public class MemberController {

    @Resource
    private MemberService memberService;

    @PostMapping("queryMemberTypeBang")
    public CommonResult queryMemberTypeBang(@RequestBody Member member){
        return memberService.queryMemberTypeBang(member);
    }


}
